import { request } from "umi";

export function getCategory() {
  return request("/api/category", {
    params: {
      articleStatus: 'publish'
    }
  })
}